package org.ilovecode.display {
	
	import flash.display.MovieClip;
	import flash.events.Event;
	
	import gs.TweenLite;
	import gs.easing.*;
	
	import org.ilovecode.control.Scrollbar;
	import org.ilovecode.display.scrollableWindow.ScrollableWindow;
	import org.ilovecode.screen.Screen;
	import org.ilovecode.screen.ScreenGroup;
	import org.ilovecode.screen.ScreenName;
	
	/**
	 * ...
	 * @author Vjekoslav Ratkajec
	 */
	public class AboutApartments extends Screen {
		
		//Content which will be loaded in scrollable window
		private var _content:AboutApartmentContent;
		//Window to display content
		private var _contentWindow:ScrollableWindow;
		
		public function AboutApartments() {
			super(ScreenName.ABOUT, ScreenGroup.BUSINESS, "aboutApartments");
		}
		
		override protected function construct():void
		{
			super.construct();
			
			_content = new AboutApartmentContent();
			_contentWindow = new ScrollableWindow(_content, 854, 560);
			this.addChild(_contentWindow);
		}
		
	}

}